package com.zzld.modules.autoinn.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name="zzld_autoinn_product")
public class Product {

	@Id
	private String id;
	
    private String proname;
    
    private String store_id;
    
    private String path;
    
    private double yprice;
    
    private double xprice;
    
    @Transient
    private String name;
    public String getName(){
    	return name;
    }
    public void setName(String name){
    	this.name=name;
    }
    
    @Transient
    private String pathname;
    public String getPathname(){
    	return pathname;
    }
    public void setPathname(String pathname){
    	this.pathname=pathname;
    }
    
    @Transient
    private String areaname;
    public String getAreaname(){
    	return areaname;
    }
    public void setAreaname(String areaname){
    	this.areaname=areaname;
    }
    
    private int comnum;
    public int getComnum(){
    	return comnum;
    }
    public void setComnum(int comnum){
    	this.comnum=comnum;
    }
    
    @Column(name="create_date")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date create_date;
    public Date getCreate_date(){
    	return create_date;
    }
    public void setCreate_date(Date create_date){
    	this.create_date=create_date;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProname() {
		return proname;
	}

	public void setProname(String proname) {
		this.proname = proname;
	}

	public String getStore_id() {
		return store_id;
	}

	public void setStore_id(String store_id) {
		this.store_id = store_id;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public double getYprice() {
		return yprice;
	}

	public void setYprice(double yprice) {
		this.yprice = yprice;
	}

	public double getXprice() {
		return xprice;
	}

	public void setXprice(double xprice) {
		this.xprice = xprice;
	}
    

}
